package com.coding.dao;

import com.coding.pojo.Place;

import java.util.List;

public interface PlaceDao {
    int deleteByPrimaryKey(Integer place_id);

    int insert(Place record);

    int insertSelective(Place record);

    Place selectSingle(int place_id);

    List<Place> selectByMainPlaceId(int main_place_id);

    Place selectByPrimaryKey(Integer place_id);

    List<String> selectWayPlaceKind(int way_id);

    List<Place> selectByWayId(int way_id);

    int updateByPrimaryKeySelective(Place record);

    int updateByPrimaryKey(Place record);
}